package mest.service.cxj;

import mest.VO.cxj.PlanCostOrderRecordVO;
import mest.entity.PlanCostOrderRecord;
import org.apache.ibatis.annotations.Param;

import java.util.List;

public interface PlanCostOrderRecordService {

    /**
     * 添加计划费用单记录
     *
     * @param pcor
     * @param theirDb
     * @return
     */
    Integer insertPlanCostorderRecord(PlanCostOrderRecord pcor, String theirDb);

    /**
     * 根据ID查询所有计划费用单记录
     *
     * @return
     */
    List<PlanCostOrderRecordVO> selectAllPlanCostOrderRecordById(Integer page, Integer limit, Integer pcId, String theirDb);

    /**
     * 根据ID查询所有计划费用单数量
     *
     * @return
     */
    Integer selectCountPlanCostOrderRecordById(Integer pcId, String theirDb);


}
